/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ProOF.apl.problems.real.operators;


import ProOF.com.language.Factory;
import ProOF.opt.abst.problem.meta.codification.Operator;


/**
 *
 * @author marcio
 */
public class fRealOperator extends Factory<Operator>{
	public static final fRealOperator obj = new fRealOperator();

	@Override
	public String name() {
		return "Codif-Real Operators";
	}

	@Override
	public Operator NewNode(int index) {
		switch(index){
		case  0: return new RealInitAnneal();
		case  1: return new RealInitRandom();
		case  2: return new RealCrossAVG();
		//case  3: return new RealCrossPROD();
		case  3: return new RealCrossOX();
		case  4: return new RealCrossBLX();
		case  5: return new RealMutShake();
		//case  7: return new RealMutConv();
		//case  8: return new RealMutDiv();
		case  6: return new RealMutSmallShake();
		case  7: return new RealMutSwap();
		}
		return null;
	}
}
